package com.vipheyue.campusrecyce.activity;

import android.os.Bundle;
import android.support.v4.view.LayoutInflaterCompat;
import android.support.v7.app.AppCompatActivity;

import com.mikepenz.iconics.context.IconicsLayoutInflater;
import com.vipheyue.campusrecyce.R;

public class TestIconActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        LayoutInflaterCompat.setFactory(getLayoutInflater(), new IconicsLayoutInflater(getDelegate()));//需要noActionBar 和下面 注释的是 一样效果 二选一
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_icon);
    }
}
